package com.shop;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

import com.shop.utils.JwtUtil;
import com.spring4all.swagger.EnableSwagger2Doc;

@EnableZuulProxy
@SpringCloudApplication
@EnableSwagger2Doc
public class AppZuul {

	public static void main(String[] args) {
		SpringApplication.run(AppZuul.class);
	}

	@Bean
	public JwtUtil jwtUtil() {
		return new JwtUtil();
	}
}
